/* arm_systick.h */
/*--------------------------------------------------------------------------*
* Author: suyong_yq
* Email : suyong_yq@126.com
*--------------------------------------------------------------------------*/
#ifndef __ARM_SYSTICK_H__
#define __ARM_SYSTICK_H__

#include "stdint.h"
#include "stdbool.h"

typedef struct
{
    uint32_t CoreClkHz;
    uint32_t TicksPerSecond;
} Systick_Config_T;

void Systick_ConfigTicker(const Systick_Config_T *configPtr);
void Systick_DelayTicksBlocking(uint32_t ticks);
void Systick_InstallCallback(void (*callbackFunc)(void));

#endif /* __ARM_SYSTICK_H__ */

